package cn.example.backstage.order.server.Impl;

import cn.example.backstage.order.mapper.RootMapper;
import cn.example.backstage.order.pojo.dto.RootDTO;
import cn.example.backstage.order.pojo.vo.RootVO;
import cn.example.backstage.order.server.RootService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RootServiceImpl implements RootService {
    @Autowired
    private RootMapper rootMapper;
    @Override
    public List<RootVO> select(RootDTO rootDTO) {
        return rootMapper.select(rootDTO);
    }
}
